package com.scm.dao;

import com.scm.pojo.Category;

import java.util.List;
import java.util.Map;

public interface CategoryMapper {
    List<Category> getAllCategory();
    int countAll();
    List<Category> findAllCategory(Map<String,Object> params);
    String getCategoryName(String id);
    void deleteCategory(String id);
    Category findCategory(String id);
    void updateCategory(Category category);
    void  addCategory(Category category);
 }
